package com.itc.bpm.dto;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class BpmTaskResDto implements Serializable {
    /**
     *
     */
    @ApiModelProperty(value = "任务id")
    private String taskId;

    private String definitionKey;
    @Schema(description = "结束时间", required = true)
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
    private Long durationInMillis;
    private Integer result;
    private String parentTaskId;
    private Date createTime;
    @ApiModelProperty(value = "是否驳回")
    private Integer isReback;

}
